package blocksim.util;

/** This class stores and update the block's size and frequency .
 * 
 * @author antonio
 *
**/

public class BlockInfo {

	private long blockSize;
	private int blockFrequency;
	
	public BlockInfo(){
		blockSize = 0;
		blockFrequency = 1;
	}

	public long getBlockSize() {
		return blockSize;
	}
	
	public void setBlockSize(long blockSize) {
		this.blockSize = blockSize;
	}
	
	public int getBlockFrequency() {
		return blockFrequency;
	}
	
	public void setBlockFrequency(int blockFrequency){
		this.blockFrequency = blockFrequency;
	}
	
	public void updateBlockFrequency() {
		this.blockFrequency = blockFrequency + 1; 
	}

}
